package com.xiaozhi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import lombok.*;

/**
 * <p>
 * 班级信息表
 * </p>
 *
 * @author 烟尘
 * @since 2023-03-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("classes")
public class Classes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 班级id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级名称
     */
    @TableField("name")
    private String name;

    /**
     * 年级
     */
    @TableField("grade")
    private Integer grade;

    /**
     * 班级人数
     */
    @TableField("student_count")
    private Integer studentCount;


}
